package com.peycard.persistence.dao.local;

import java.io.Serializable;

import com.peycard.persistence.PersistenceException;

public interface GenericDAO<T, PK extends Serializable> {

	T create(T t) throws PersistenceException;
    T read(PK id)throws PersistenceException;
    T update(T t)throws PersistenceException;
    void delete(T t)throws PersistenceException;
    
}
